accurrent2 2.2.1
Loading...
Searching...
No Matches
AC Current 2 Settings

Settings of AC Current 2 Click driver. More...

Macros

#define ACCURRENT2_AC_TO_DC_V_SCALE   1.8f
 AC Current 2 current measurement calculation values.
#define ACCURRENT2_SENSOR_RESOLUTION   30.0f
#define ACCURRENT2_NUM_CONVERSIONS   200
 AC Current 2 default ADC samples number for averaging.
#define ACCURRENT2_ADC_RESOLUTION   0x0FFF
 AC Current 2 ADC setting.
#define ACCURRENT2_VREF_3V3   3.3
#define ACCURRENT2_VREF_5V   5.0
#define ACCURRENT2_TIMEOUT_MS   2000
 AC Current 2 timeout setting.
#define ACCURRENT2_SET_DEV_ADDR   0x4D
 AC Current 2 device address setting.

Detailed Description

Settings of AC Current 2 Click driver.

Macro Definition Documentation

◆ ACCURRENT2_AC_TO_DC_V_SCALE

#define ACCURRENT2_AC_TO_DC_V_SCALE   1.8f

AC Current 2 current measurement calculation values.

Specified current measurement calculation values of AC Current 2 Click driver.

◆ ACCURRENT2_ADC_RESOLUTION

#define ACCURRENT2_ADC_RESOLUTION   0x0FFF

AC Current 2 ADC setting.

Specified settings for ADC of AC Current 2 Click driver.

◆ ACCURRENT2_NUM_CONVERSIONS

#define ACCURRENT2_NUM_CONVERSIONS   200

AC Current 2 default ADC samples number for averaging.

Specified default ADC samples number for averaging of AC Current 2 Click driver.

◆ ACCURRENT2_SENSOR_RESOLUTION

#define ACCURRENT2_SENSOR_RESOLUTION   30.0f

◆ ACCURRENT2_SET_DEV_ADDR

#define ACCURRENT2_SET_DEV_ADDR   0x4D

AC Current 2 device address setting.

Specified setting for device slave address selection of AC Current 2 Click driver.

◆ ACCURRENT2_TIMEOUT_MS

#define ACCURRENT2_TIMEOUT_MS   2000

AC Current 2 timeout setting.

Specified setting for timeout of AC Current 2 Click driver.

◆ ACCURRENT2_VREF_3V3

#define ACCURRENT2_VREF_3V3   3.3

◆ ACCURRENT2_VREF_5V

#define ACCURRENT2_VREF_5V   5.0